package com.community.owner.domain;

import com.community.common.annotation.Excel;
import com.community.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@Data
@NoArgsConstructor
public class Resident extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 住户ID */

    private Long residentId;

    /** 业主ID */
    @Excel(name = "业主ID")
    private Long ownerId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 关系：家属、租户 */
    @Excel(name = "关系", readConverterExp = "家属、租户")
    private String relationship;

    /** 是否注册：是、否 */
    @Excel(name = "是否注册", readConverterExp = "是、否")
    private String isRegistered;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;


}
